package com.betterjr.modules.accountSupervision.service;

import com.betterjr.common.service.BaseService;
import com.betterjr.modules.accountSupervision.dao.ScfAccDtlMapper;
import com.betterjr.modules.accountSupervision.entity.ScfAccDtlBean;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 明细查询
 */
@Service
public class ScfAccDtlService extends BaseService<ScfAccDtlMapper, ScfAccDtlBean> {

    /**
     * 查询明细表
     * @param anMap
     * @return
     */
    public List<ScfAccDtlBean> queryAccDtlList(Map<String, Object> anMap) {
        return this.mapper.getDtlList(anMap);
    }

    public int addAccDtl(ScfAccDtlBean bean){
        return this.mapper.addDtl(bean);
    }

}
